package model

type Article struct {
	Id     int    `json:"id"`
	Title  string `json:"title"`
	CateId int    `json:"cate_id"`
	State  int    `json:"state"`
	//ArticleCate ArticleCate `gorm:"foreignkey:CateId"`
}

func (Article) TableName() string {
	return "article"
}
